apply to the court for directions